//
//  DetailFreeModel.m
//  LoveTrail
//
//  Created by giantumbrella on 15/6/19.
//  Copyright (c) 2015年 赵娟. All rights reserved.
//

#import "DetailFreeModel.h"

@implementation DetailFreeModel

- (void)decodedic:(NSDictionary *)dic
{
    if (dic) {
        if (![[dic objectForKey:@"resultCode"] isKindOfClass:[NSNull class]]) {
            self.resultCode=[dic objectForKey:@"resultCode"];
        }
        if (![[dic objectForKey:@"adImageURL"] isKindOfClass:[NSNull class]]) {
            self.adImageURL = [dic objectForKey:@"adImageURL"];
        }
        if (![[dic objectForKey:@"imageURL"] isKindOfClass:[NSNull class]]) {
            self.imageURL = [dic objectForKey:@"imageURL"];
        }
        if (![[dic objectForKey:@"title"] isKindOfClass:[NSNull class]]) {
            self.title = [dic objectForKey:@"title"];
        }
        if (![[dic objectForKey:@"timeStart"] isKindOfClass:[NSNull class]]) {
            self.timeStart = [dic objectForKey:@"timeStart"];
        }
        if (![[dic objectForKey:@"timeStop"] isKindOfClass:[NSNull class]]) {
            self.timeStop = [dic objectForKey:@"timeStop"];
        }
        if (![[dic objectForKey:@"specification"] isKindOfClass:[NSNull class]]) {
            self.specification = [dic objectForKey:@"specification"];
        }
        if (![[dic objectForKey:@"useAge"] isKindOfClass:[NSNull class]]) {
            self.useAge = [dic objectForKey:@"useAge"];
        }
        if (![[dic objectForKey:@"price"] isKindOfClass:[NSNull class]]) {
            self.price = [dic objectForKey:@"price"];
        }
        if (![[dic objectForKey:@"amount"] isKindOfClass:[NSNull class]]) {
            self.amount = [dic objectForKey:@"amount"];
        }
        if (![[dic objectForKey:@"applied"] isKindOfClass:[NSNull class]]) {
            self.applied = [dic objectForKey:@"applied"];
        }
        if (![[dic objectForKey:@"estimate"] isKindOfClass:[NSNull class]]) {
            self.estimate = [dic objectForKey:@"estimate"];
        }
        if (![[dic objectForKey:@"description"] isKindOfClass:[NSNull class]]) {
            self.descriptionM = [dic objectForKey:@"description"];
        }
    }
    if (![[dic objectForKey:@"status"] isKindOfClass:[NSNull class]]) {
        self.status = [dic objectForKey:@"status"];
    }
    if (![[dic objectForKey:@"msg"] isKindOfClass:[NSNull class]]) {
        self.msg = [dic objectForKey:@"msg"];
    }
}

@end
